projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57fd5c5
)
(menu_grab_callback) <cnt>: Move static variable to file scope.
author
Glenn Morris
<rgm@gnu.org>
Thu, 6 Sep 2007 07:00:56 +0000
(07:00 +0000)
committer
Glenn Morris
<rgm@gnu.org>
Thu, 6 Sep 2007 07:00:56 +0000
(07:00 +0000)
src/gtkutil.c
patch
|
blob
|
history
diff --git
a/src/gtkutil.c
b/src/gtkutil.c
index 36873f23e6dab84b4890c5be21bb87bb0ea43d27..c057cc719e0bc58b59578a85eb661e40a26a52c9 100644
(file)
--- a/
src/gtkutil.c
+++ b/
src/gtkutil.c
@@
-1780,14
+1780,14
@@
menu_destroy_callback (w, client_data)
UNGRAB_P is TRUE if this is an ungrab, FALSE if it is a grab.
CLIENT_DATA is NULL (not used). */
+/* Keep track of total number of grabs. */
+static int cnt;
+
static void
menu_grab_callback (GtkWidget *widget,
gboolean ungrab_p,
gpointer client_data)
{
- /* Keep track of total number of grabs. */
- static int cnt;
-
if (ungrab_p) cnt--;
else cnt++;